package com.atjinggu.jinggumail.order.feign;

import com.atjinggu.jinggumail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author jingming
 * @Type ProductFeignService.java
 * @Desc
 * @date 2021/3/10 22:39
 */
@FeignClient("jinggumail-product")
public interface ProductFeignService {
    @GetMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") String id);
}